Update Annotation Task Contributors

Update task contributors

Request
path Parameters
id
required
string

: Task ID

Request Body schema: application/json

: Task update payload

action
required
string (TaskContributorsAction)
Enum: "add" "remove"
assignees
Array of strings or null
groups
Array of strings or null
property name*
additional property
any
Responses
200

Ok

post/annotationtasks/{id}/contributors
Request samples
application/json
{
  • "action": "add",
  • "assignees": [
    ],
  • "groups": [
    ]
}
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "updatedBy": "string",
  • "creator": "string",
  • "name": "string",
  • "taskOwner": "string",
  • "dueDate": 0,
  • "datasetId": "string",
  • "recipeId": "string",
  • "projectId": "string",
  • "spec": {
    },
  • "hasParent": true,
  • "query": "string",
  • "assignmentIds": [
    ],
  • "status": "open",
  • "metadata": {
    },
  • "totalItems": 0,
  • "itemStatus": {
    },
  • "progress": 0,
  • "forReview": 0,
  • "issues": 0,
  • "availableActions": [
    ],
  • "error": "string",
  • "priority": 0,
  • "emptyInactiveAssignments": 0,
  • "description": {
    }
}